<template>
    <div class="van_cell">
        <div class="van_cell_title">{{ data.name }}</div>
        <van-address-edit
            :area-list="data.options.areaList"
            show-postal
            show-set-default
            :show-delete="false"
            show-search-result
            :search-result="data.options.searchResult"
            :area-columns-placeholder="['请选择', '请选择', '请选择']"
        />
    </div>
</template>
<script>
import { AddressEdit } from 'vant'
export default {
    name: 'BaseAddressEdit',
    components: {
        [AddressEdit.name]: AddressEdit
    },
    props: {
        data: {
            type: Object
        }
    }
}
</script>
